#include "classes.cpp"
#include <iostream>
#include <string>
#include <stdio.h>
#include <stdlib.h>
#include <sstream>

int main(){
	 Queue<MsgEnv> * testQ;
	 testQ= new Queue();
	 MsgEnv *myMsg=new MsgEnv();
	 
	 myMsg->sender_pid=123;
	 myMsg->target_pid=456;
	 testQ->enqueue(myMsg);
	 //node * nodePtr;
	 //nodePtr->data=1;
	 //nodePtr->next=NULL;
	 //int b=nodePtr->data;
	 int a=testQ->getsize();
	 //testQ->enqueue(nodePtr);
         printf("the size of the queue is %s" ,a);
	 
	 //cout<<b<<endl;
	 getchar();
	 return 0;	 
}
